﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="listTeacher.aspx.cs" Inherits="NewSchoolWeb.listTeacher" %>

<%@ Register Assembly="DevExpress.Web.v14.1, Version=14.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="context" runat="server">

    <div id="content-header">
        <h1>教师基本信息</h1>
        <div class="btn-group">
            <a class="btn btn-large tip-bottom" title="Manage Files">
                <i class="icon-file"></i>
            </a>
            <a class="btn btn-large tip-bottom" title="Manage Users">
                <i class="icon-user"></i>
            </a>
            <a class="btn btn-large tip-bottom" title="Manage Comments">
                <i class="icon-comment"></i><span class="label label-important">5</span></a>
            <a class="btn btn-large tip-bottom" title="Manage Orders">
                <i class="icon-shopping-cart"></i>
            </a>
        </div>
    </div>
    <div id="breadcrumb">
        <a href="Default.aspx" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> 首页</a>
        <a href="listTeacher.aspx" class="current">教师基本信息</a>
    </div>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title">
                        <span class="icon">
									<i class="icon-th"></i>
								</span>
                        <h5>教师信息列表</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <dx:ASPxGridView ID="ASPxGridView1"  Width="100%" KeyFieldName="ID_TEACHERS" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" OnRowInserting="ASPxGridView1_RowInserting">
                            <Columns>
                                <dx:GridViewCommandColumn ShowDeleteButton="True" ShowEditButton="True" ShowNewButtonInHeader="True" VisibleIndex="0">
                                </dx:GridViewCommandColumn>
                                <dx:GridViewDataTextColumn FieldName="ID_TEACHERS" Visible="False" VisibleIndex="1">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="XINGMING" VisibleIndex="2">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataComboBoxColumn FieldName="XINGBIE" VisibleIndex="3">
                                    <PropertiesComboBox>
                                        <Items>
                                            <dx:ListEditItem Text="男" Value="男"/>
                                            <dx:ListEditItem Text="女" Value="女"/>
                                        </Items>
                                    </PropertiesComboBox>
                                </dx:GridViewDataComboBoxColumn>
                                <dx:GridViewDataDateColumn FieldName="SHENGRI" VisibleIndex="4">
                                </dx:GridViewDataDateColumn>
                                <dx:GridViewDataComboBoxColumn FieldName="MINGZU" VisibleIndex="5">
                                    <PropertiesComboBox>
                                        <Items>
                                            <dx:ListEditItem Text="汉族" Value="0"/>
                                            <dx:ListEditItem Text="蒙古族" Value="1"/>
                                            <dx:ListEditItem Text="回族" Value="2"/>
                                            <dx:ListEditItem Text="藏族" Value="3"/>
                                            <dx:ListEditItem Text="维吾尔族" Value="4"/>
                                            <dx:ListEditItem Text="苗族" Value="5"/>
                                            <dx:ListEditItem Text="彝族" Value="6"/>
                                            <dx:ListEditItem Text="壮族" Value="7"/>
                                            <dx:ListEditItem Text="布依族" Value="8"/>
                                            <dx:ListEditItem Text="朝鲜族" Value="9"/>
                                            <dx:ListEditItem Text="满族" Value="10"/>
                                            <dx:ListEditItem Text="侗族" Value="11"/>
                                            <dx:ListEditItem Text="瑶族" Value="12"/>
                                            <dx:ListEditItem Text="白族" Value="13"/>
                                            <dx:ListEditItem Text="土家族" Value="14"/>
                                            <dx:ListEditItem Text="哈尼族" Value="15"/>
                                            <dx:ListEditItem Text="哈萨克族" Value="16"/>
                                            <dx:ListEditItem Text="傣族" Value="17"/>
                                            <dx:ListEditItem Text="黎族" Value="18"/>
                                            <dx:ListEditItem Text="僳僳族" Value="19"/>
                                            <dx:ListEditItem Text="佤族" Value="20"/>
                                            <dx:ListEditItem Text="畲族" Value="21"/>
                                            <dx:ListEditItem Text="高山族" Value="22"/>
                                            <dx:ListEditItem Text="拉祜族" Value="23"/>
                                            <dx:ListEditItem Text="水族" Value="24"/>
                                            <dx:ListEditItem Text="东乡族" Value="25"/>
                                            <dx:ListEditItem Text="纳西族" Value="26"/>
                                            <dx:ListEditItem Text="景颇族" Value="27"/>
                                            <dx:ListEditItem Text="柯尔克孜族" Value="28"/>
                                            <dx:ListEditItem Text="土族" Value="29"/>
                                            <dx:ListEditItem Text="达斡尔族" Value="30"/>
                                            <dx:ListEditItem Text="仫佬族" Value="31"/>
                                            <dx:ListEditItem Text="羌族" Value="32"/>
                                            <dx:ListEditItem Text="布朗族" Value="33"/>
                                            <dx:ListEditItem Text="撒拉族" Value="34"/>
                                            <dx:ListEditItem Text="毛南族" Value="35"/>
                                            <dx:ListEditItem Text="仡佬族" Value="36"/>
                                            <dx:ListEditItem Text="锡伯族" Value="37"/>
                                            <dx:ListEditItem Text="阿昌族" Value="38"/>
                                            <dx:ListEditItem Text="普米族" Value="39"/>
                                            <dx:ListEditItem Text="塔吉克族" Value="40"/>
                                            <dx:ListEditItem Text="怒族" Value="41"/>
                                            <dx:ListEditItem Text="乌孜别克族" Value="42"/>
                                            <dx:ListEditItem Text="俄罗斯族" Value="43"/>
                                            <dx:ListEditItem Text="鄂温克族" Value="44"/>
                                            <dx:ListEditItem Text="德昂族" Value="45"/>
                                            <dx:ListEditItem Text="保安族" Value="46"/>
                                            <dx:ListEditItem Text="裕固族" Value="47"/>
                                            <dx:ListEditItem Text="京族" Value="48"/>
                                            <dx:ListEditItem Text="塔塔尔族" Value="49"/>
                                            <dx:ListEditItem Text="独龙族" Value="50"/>
                                            <dx:ListEditItem Text="鄂伦春族" Value="51"/>
                                            <dx:ListEditItem Text="赫哲族" Value="52"/>
                                            <dx:ListEditItem Text="门巴族" Value="53"/>
                                            <dx:ListEditItem Text="珞巴族" Value="54"/>
                                            <dx:ListEditItem Text="基诺族" Value="55"/>
                                        </Items>
                                    </PropertiesComboBox>
                                </dx:GridViewDataComboBoxColumn>
                                <dx:GridViewDataTextColumn FieldName="JIGUAN" VisibleIndex="6">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="CHUSHENGDI" VisibleIndex="7">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataDateColumn FieldName="RDSJ" VisibleIndex="8">
                                </dx:GridViewDataDateColumn>
                                <dx:GridViewDataDateColumn FieldName="CJGZSJ" VisibleIndex="9">
                                </dx:GridViewDataDateColumn>
                                <dx:GridViewDataTextColumn FieldName="LXDH" VisibleIndex="10">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="SFZH" VisibleIndex="11">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="XRZW" VisibleIndex="12">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="XK" VisibleIndex="13">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="BZRNX" VisibleIndex="14">
                                </dx:GridViewDataTextColumn>
                            </Columns>
                            <SettingsBehavior ConfirmDelete="True"/>
                            <SettingsEditing EditFormColumnCount="3">
                            </SettingsEditing>
                        </dx:ASPxGridView>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DataObjectTypeName="Entities.Teachers" InsertMethod="Insert" SelectMethod="GetAll" TypeName="Bll.TeacherBll" UpdateMethod="Update" OnInserting="ObjectDataSource1_Inserting" DeleteMethod="Delete">
    </asp:ObjectDataSource>
</asp:Content>